<!--TODO mostrar todos los usuarios asociados a la granja $nombre-->
Usuario: <?= $this->usuario->getCorreo() ?>
<?
$this->controller = "usuarios-granja";

$this->list = array(
    "Granja" => "granja"
);
$this->showEditLink = false;
$this->showDeleteLink = false;
$this->showNewLink = false;

$this->tasks = array(
    array(
        "label" => "Eliminar",
        "url" => $this->url(array('controller' => 'usuarios-granja', 'action' => 'remove-granja', 'usuario'=>$this->usuario->getId()), 'default', true),
        "param" => "granja",
        "method" => "getGranjaId"
    )
);
echo $this->partial('list.phtml', $this) ?>
<!--<a href="--><?//=$this->url(array('controller' => $this->controller, 'action' => 'form', 'granja' => $this->usuario->getId()), 'default', true) ?><!--">crear-->
<!--    nuevo</a>-->